#include<iostream>
#include <sys/types.h>
#include <unistd.h>

using namespace std;

int main ()
{
    while(true)
    {
    cout<< "I am a process"<< "pid:"<<" "<<getpid()<<endl; 
        sleep(5);
    }
    return 0;

}
